package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Package: com.ruoyi.system.domain.vo
 * @Author: HanWL
 * @CreateTime: 2023-10-19 14:11
 * @Version: 1.0
 **/
@Data
@ApiModel(value = "生成订单接收类")
public class OrderGenVo {

    @ApiModelProperty(value = "景区ID")
    private Long jingquId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "订单日期(yyyy-MM-dd)")
    private Date orderDate;

    @ApiModelProperty(value = "订单详情")
    private List<OrderDetailsGenVo> orderDetails;

}
